#pragma once

#include <stdio.h>
#include <string.h>
#include <stdlib.h>


#define Row 20
#define Col 20


#define PLAYER1 1
#define PLAYER2 2


#define PLAYER1_WIN 1
#define PLAYER2_WIN 2
#define NEXT 0
#define DRAW 3


enum Dir{
    LEFT,
    RIGHT,
    UP,
    DOWN,

    LEFT_UP,
    LEFT_DOWN,
    RIGHT_UP,
    RIGHT_DOWN
};



int ChessCount(int board[][Col],int row,int col,enum Dir d);

void ShowBoard(int board[Row][Col]);

void PlayerMove(int board[][Col],int row,int col,int who);


int IsOver(int board[][Col],int row,int col);

void Game();

void Menu();




